import Vue from 'vue'
import Vant from 'vant';
import 'vant/lib/index.css';
import App from './App.vue';
import selectDep from "@/components/selectDepartment"
// if (process.env.NODE_ENV == "development") {
//     const VConsole = require("vconsole")
//     new VConsole();
// }
const components=[selectDep];
const zmui={
    install:(Vue)=>{
        components.map((item)=>{
            Vue.component(item.name,item);
        })
    }
}
window.zmui=zmui;
Vue.use(Vant);
new Vue({
    render: h => h(App),
}).$mount('#app')

export default {
    zmui,
    selectDep
};